package com.fang.aop;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AopTest {
    @Autowired
    AopService aopService;

    @RequestMapping("/testmethod")
    public String testMethod(String s) {
        String x = aopService.uuu();
        System.out.println(x);
        return x;
//        System.out.println(uuu());
//        return null;
    }
}
